import request from "../utils/axios"
export const addServer = (params) => {
    return request({
        url: '/server/addServer',
        method: 'post',
        data: params
    })
}
export const getServer = (params) => {
    return request({
        url: '/server/getServer',
        method: 'get',
        params
    })
}
export const updateServer = (params) => {
    return request({
        url: '/server/updateServer',
        method: 'post',
        data: params
    })
}